package com.qingke.easyjava.jdbc.dao;

import java.util.List;

import com.qingke.easyjava.jdbc.pojo.Player;
import com.qingke.easyjava.jdbc.pojo.Question;

public  interface QuestionDao {
	
	public List<Question> getQuestionFrom(Player player);
	public Question getQuestion(long questionId);
	public List<Question> getQuestions();
	
	public void upsertQuestion(Question question);
	public void acceptAnswer2(long questionId);
}
